package zhongbo.java.air.dictionary.service;

import com.baomidou.mybatisplus.extension.service.IService;
import zhongbo.java.air.common.vo.PageVo;
import zhongbo.java.air.common.vo.ResultVo;
import zhongbo.java.air.dictionary.model.AirCraft;

/**
 * 说明：
 * 飞机信息相关服务
 *
 */
public interface IAirCraftService extends IService<AirCraft> {
    PageVo<AirCraft> pageQuery(Integer page, Integer pageSize
            , String keyword, String fields
            , String oderByField, Boolean orderByAsc);

    /**
     * 添加飞机信息
     * @param airCraft
     * @return
     */
    ResultVo saveAirCraft(AirCraft airCraft);

    /**
     * 修改飞机信息
     * @param airCraft
     * @return
     */
    ResultVo updateAirCraft(AirCraft airCraft);
}
